package com.hzy.context;

/**
 * @author huangzhenyu
 * @date 2024/9/10 22:21
 */
public class ContextLoaderInitializer {

    /**
     * 初始化容器
     */
    public static void initializer() {
        var propertyResolver = WebUtils.createPropertyResolver();
        ApplicationContext applicationContext = new ApplicationContext(propertyResolver);
        ApplicationContextUtils.setApplicationContext(applicationContext);
    }
}
